package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * student对象 student
 * 
 * @author ruoyi
 * @date 2023-01-08
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学院 */
    @Excel(name = "学院")
    private String academy;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 居住地 */
    @Excel(name = "居住地")
    private String residence;

    /** 所在校区 */
    @Excel(name = "所在校区")
    private Integer campusId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAcademy(String academy) 
    {
        this.academy = academy;
    }

    public String getAcademy() 
    {
        return academy;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setResidence(String residence) 
    {
        this.residence = residence;
    }

    public String getResidence() 
    {
        return residence;
    }
    public void setCampusId(Integer campusId) 
    {
        this.campusId = campusId;
    }

    public Integer getCampusId() 
    {
        return campusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("academy", getAcademy())
            .append("grade", getGrade())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("residence", getResidence())
            .append("campusId", getCampusId())
            .toString();
    }
}
